#!/bin/sh -e

PREREQS=""

prereqs() { echo "$PREREQS"; }

case "$1" in
    prereqs)
    prereqs
    exit 0
    ;;
esac

. /usr/share/initramfs-tools/hook-functions

mkdir -p $DESTDIR/usr/bin/
chmod 755 $DESTDIR/usr/bin/
copy_exec /usr/bin/clear /usr/bin
copy_exec /bin/echo /bin
copy_exec /bin/sync /bin
copy_exec /usr/bin/gpg /usr/bin/
copy_exec /usr/bin/kylin_activate_i /usr/bin
copy_exec /usr/bin/kylin_activation_check_i /usr/bin
copy_exec /usr/bin/kylin_gen_register_i /usr/bin
copy_exec /usr/bin/kylin_verify_i /usr/bin
copy_exec /usr/bin/qrencode /usr/bin
